using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class Common_Contact_Contact : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            if (Request.QueryString["KindNo"] == "C")
                pnlMap.Visible = true;
            clsWebShop cls = new clsWebShop();
            DataTable dt = cls.Get_ContactByKindNoNoneProc(cls.killSQLInjection(Request.QueryString["KindNo"])).Tables[0];
            if(dt.Rows.Count>0)
                lblContact.Text = dt.Rows[0]["Content"].ToString();
        }
    }
}
